import request from "@/utils/request" 

// 查询余额记录
export function listBalanceList(query) {
  return request({
    url: '/branch/balanceList',
    method: 'get',
    params: query
  })
}

// 查询提现列表
export function listWithdrawList(query) {
  return request({
    url: '/branch/withdrawList',
    method: 'get',
    params: query
  })
}


// 修改
export function auditBranch(data) {
  return request({
    url: '/branch/audit',
    method: 'put',
    data: data
  })
}

export function withdrawBranch(data) {
  return request({
    url: '/branch/withdraw',
    method: 'put',
    data: data
  })
}


